//
//  AboutUsViewController.m
//  Motor
//
//  Created by 戎耀 on 15-8-28.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "AboutUsViewController.h"
#import "PrefixHeader.pch"
#import <RESideMenu.h>
@interface AboutUsViewController ()

@end

@implementation AboutUsViewController

- (void)viewWillAppear:(BOOL)animated
{
    SelfNavBar.hidden = YES;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.

    
    UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, ScreenHeight * 80 / 667, ScreenWidth, ScreenHeight - 130)];
    imageView.image = [UIImage imageNamed:@"women.png"];
    [self.view addSubview:imageView];
    
#pragma mark --我们页返回键
    UIButton *backButton = [UIButton buttonWithType:UIButtonTypeSystem];
    backButton.frame = CGRectMake(ScreenWidth * 0 / 375, ScreenHeight * 40 / 667, ScreenWidth * 60 / 375, ScreenWidth * 45 / 667);
    backButton.titleLabel.font = [UIFont systemFontOfSize:16];
    [backButton setTitle:@"返回" forState:UIControlStateNormal];
    [backButton setTitleColor:RGB(22, 188, 180) forState:UIControlStateNormal];
    [self.view addSubview:backButton];
    [backButton addTarget:self action:@selector(backButtonClicked:) forControlEvents:UIControlEventTouchUpInside];
    
}

#pragma mark --返回按键方法
- (void)backButtonClicked:(UIButton *)button
{
    [self dismissViewControllerAnimated:YES completion:^{
        
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
